home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
gnu
/
gdb
/
gdb_18s.zoo
/
Makefile
< prev
next >
Wrap
Makefile
|
1992-03-25
|
4KB
|
116 lines
#
# Makefile for gdb and cross development system
# adjust CROSSDIR appro.
#
CROSSDIR = /net/acae127/home/bammi/atari/cross-gcc
CROSSBIN = $(CROSSDIR)/bin
CC = $(CROSSBIN)/cgcc
# -I. for "#include <obstack.h>"
CFLAGS = -I. -O -fomit-frame-pointer $(XFLAGS)
#LDFLAGS = -s
LDFLAGS = -v -s
.s.o:
$(CC) -c $*.s
# define this to be "obstack.o" if you don't have the obstack library installed
# you must at the same time define OBSTACK1 as "obstack.o"
# so that the dependencies work right.
OBSTACK = obstack.o
OBSTACK1 = obstack.o
CLIBS = $(OBSTACK)
STARTOBS = main.o init.o
OBS = blockframe.o breakpoint.o findvar.o stack.o source.o \
values.o eval.o valops.o valarith.o valprint.o printcmd.o \
symtab.o symmisc.o dbxread.o infcmd.o st-infru.o \
st-traps.o
TSOBS = st-core.o st-inflo.o atarist.o
ENDOBS = command.o utils.o expread.o expprint.o pinsn.o \
environ.o version.o
LNKOBJS = main.o init.o blockframe.o breakpoint.o findvar.o stack.o \
source.o values.o eval.o valops.o valarith.o valprint.o printcmd.o \
symtab.o symmisc.o dbxread.o infcmd.o st-infru.o \
st-core.o st-inflo.o command.o utils.o expread.o \
expprint.o pinsn.o environ.o version.o obstack.o atarist.o \
st-traps.o
FAKEOBJ = console.o read.o signal.o
gdb.ttp : $(LNKOBJS) $(FAKEOBJ)
$(CC) $(LDFLAGS) -o gdb.ttp $(LNKOBJS) $(FAKEOBJ)
blockframe.o : blockframe.c defs.h param.h symtab.h frame.h
breakpoint.o : breakpoint.c defs.h param.h symtab.h frame.h
command.o : command.c command.h
st-core.o : st-core.c defs.h param.h
dbxread.o : dbxread.c defs.h param.h symtab.h
environ.o : environ.c environ.h
expprint.o : expprint.c defs.h symtab.h expression.h
expread.c : expread.y
@echo 'Expect 33 shift/reduce conflicts.'
bison expread.y
mv expread.tab.c expread.c
expread.o : expread.c defs.h param.h symtab.h frame.h expression.h
$(CC) -c ${CFLAGS} expread.c -o expread.o
eval.o : eval.c defs.h symtab.h value.h expression.h
findvar.o : findvar.c defs.h param.h symtab.h frame.h value.h
infcmd.o : infcmd.c defs.h param.h symtab.h frame.h inferior.h environ.h value.h
st-inflo.o : st-inflo.c defs.h param.h frame.h inferior.h
st-infru.o : st-infru.c defs.h param.h symtab.h frame.h inferior.h wait.h
kdb-start.o : kdb-start.c defs.h param.h
main.o : main.c defs.h command.h
# pinsn.o depends on ALL the opcode printers
# since we don't know which one is really being used.
# yes we do: 68k.
pinsn.o : pinsn.c defs.h param.h symtab.h m68k-opcode.h m68k-pinsn.c
printcmd.o : printcmd.c defs.h param.h symtab.h value.h expression.h
source.o : source.c defs.h symtab.h
stack.o : stack.c defs.h param.h symtab.h frame.h
standalone.o : standalone.c defs.h param.h symtab.h frame.h inferior.h wait.h
symmisc.o : symmisc.c defs.h symtab.h
symtab.o : symtab.c defs.h param.h symtab.h
utils.o : utils.c defs.h
valarith.o : valarith.c defs.h param.h symtab.h value.h expression.h
valops.o : valops.c defs.h param.h symtab.h value.h
valprint.o : valprint.c defs.h symtab.h value.h
values.o : values.c defs.h param.h symtab.h value.h
version.o : version.c PatchLev.h
obstack.o : obstack.c
console.o: fake/console.c
$(CC) $(CFLAGS) -c fake/console.c -o console.o
read.o: fake/read.c
$(CC) $(CFLAGS) -Ifake -c fake/read.c -o read.o
signal.o: fake/signal.c
$(CC) $(CFLAGS) -c fake/signal.c -o signal.o
clean:
rm -f *.o
realclean: clean
rm -f gdb.ttp report core *.zoo
HFILES = command.h defs.h environ.h expression.h frame.h gnu-out.h inferior.h \
m-atari.h m-atarii.h m68k-opcode.h obstack.h param.h \
st-traps.h symseg.h symtab.h value.h wait.h
CFILES = main.c init.c blockframe.c breakpoint.c findvar.c stack.c \
source.c values.c eval.c valops.c valarith.c valprint.c printcmd.c \
symtab.c symmisc.c dbxread.c infcmd.c st-infru.c \
st-core.c st-inflo.c command.c utils.c expread.c \
expprint.c pinsn.c environ.c version.c obstack.c atarist.c
TAGS: $(CFILES) $(HFILES)
-chmod +w TAGS
/util/gnu.old/bin/etags -t -f $@ $^